<style>
.shine {color:#f60}
.fe-floatright-bottom {bottom:2.6rem}
.noread{
				height:8rem;
				overflow-y:hidden
}
.noread-btn {position: relative;padding-top:2rem;margin-top:-1.3rem}
.noread-btn .exp-mask {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 2rem;
				background-image: linear-gradient(-180deg,rgba(255,255,255,0) 13%,#fff 63%);
}
.fui-picture .image .playbtn {
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
	padding-top:4rem;
    text-align: center;
    color: #fff;
}
.live-living {
    height: 1rem;
    display: inline-block;
    border: 0 solid #ededed;
    -webkit-border-radius: 1rem;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.8) none repeat scroll 0 0;
    color: #fff;
    line-height: 0.9rem;
    font-size: 0.6rem;
    position: absolute;
    opacity: 0.8;
    padding: 0 0.5rem;
    left: 0.15rem;
    bottom: 0.3rem;
    z-index: 10;
}
.live-title {
    height: 1rem;
    display: inline-block;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.8) none repeat scroll 0 0;
    color: #fff;
    line-height: 0.9rem;
    font-size: 0.6rem;
    position: absolute;
    opacity: 0.8;
    padding: 0 0.5rem;
    top: 0;
    z-index: 10;
}
.live-living i{
	position: relative;
	width:1.05rem;
	height:1.05rem;
	display: inline-block;
	background: url("../addons/jy_weishop/resource/images/live-living.gif") no-repeat center;
	background-size: contain;
	-webkit-border-radius: 1rem;
	border-radius: 1rem;
	top: -1px;
	left: -1px;
	margin:0 0.1rem 0 0;
	margin-left:-0.55rem;
}
.live-hot-list-img img{width:100%;height:5.5rem;}
.fe-floatright-bottom a{
    background-color: rgba(0,0,0,0.2);
}
.followpiaofu img{width: 0px;position: fixed; bottom: 260px; right: 25px;z-index:188}
</style>
<div class="fui-page order-create-page fui-page-current">
	<div class="fui-content">
		<div class="fui-cell-group" style="padding-bottom:0.3rem;margin-top:0">
			<div class="fui-cell sm">
				<div class="fui-cell-icon" style="font-size:1rem;width:1.2rem">
					<img style="width:1.1rem;height:1.1rem" ng-src="{{tomedia(pagedata.jie.image) || '../core/resource/images/nopic.jpg'}}">
				</div>
				<div class="fui-cell-text" style="font-size:0.8rem">{{pagedata.jie.title || '在线教学'}}</div>
				<div class="fui-cell-remark noremark" style="font-size:1rem">
					<i class="icon icon-fenxiang2" onclick="$('#showsharecover').modal();" style="font-size: 0.85rem;margin-right:0.2rem"></i>
					<i class="icon icon-liaotian" ng-click="access_json('jy_kecheng/home/')" style="font-size: 0.9rem;"></i>
				</div>
			</div>
		</div>
		<div class="fui-picture">
				<div class="image" style="position: relative;display: block;" data-nocache="true">
					<img ng-src="{{tomedia(pagedata.item.image) || '../core/resource/images/nopic.jpg'}}">
				</div>
		</div>
		<div class="fui-cell-group fui-cell-click" style="padding-bottom:0.3rem;margin-top:0">
			<div class="fui-cell sm">
				<div class="fui-cell-text">
				<div class="text bold" style="font-size:1rem">{{pagedata.item.title}}</div>
				<div class="subtitle">{{pagedata.item.desc}}</div>
				</div>
				<div class="fui-cell-remark noremark" style="padding-left:0;margin-top:0.1rem">
					<div class="fui-icon c">
						<div class="fui-tag" style="padding:0.2rem" >
							<i href="javascript:;" ng-click="pagedata.setlike();toogle(pagedata,'islike',[1,0])" ng-class="{'icon jinyunicon':1,'icon-follow':pagedata.islike !=1,'icon-xiai':pagedata.islike >0}" style="font-size:0.8rem"></i>
							<div class="subtitle">点赞</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="fui-cell-group">
			<div ng-if="pagedata.item.type==2 || pagedata.item.type==3" class="fui-cell">
				<div class="fui-cell-icon" style="margin-right:0.5rem">
					<i class="icon icon-xuexi1" style="font-size:1rem;color:#18bc9c"></i>
				</div>
				<div class="fui-cell-text">
					教学课件
				</div>
				<div class="fui-cell-remark noremark">
					<span href="javascript:" ng-click="access_json('/images//id='+pagedata.item.id)" class="jylabel jylabel-success" style="padding:0.3rem 0.6rem;border-radius:1rem;font-weight:400">点击学习</span>
				</div>
			</div>
			<div ng-if="pagedata.item.type==0 || pagedata.item.type==3" class="fui-cell">
				<div class="fui-cell-icon" style="margin-right:0.5rem">
					<i class="icon icon-video" style="font-size:1rem;color:#18bc9c"></i>
				</div>
				<div class="fui-cell-text">
					教学视频
				</div>
				<div class="fui-cell-remark noremark">
					<span href="javascript:" ng-click="access_json('/images//isvideo=1&id='+pagedata.item.id)" class="jylabel jylabel-success" style="padding:0.3rem 0.6rem;border-radius:1rem;font-weight:400">点击播放</span>
				</div>
			</div>
		</div>
		<div class="fui-cell-group fui-cell-click" style="padding:0.5rem">
				<div class="fui-tab-scroll">
					<div ng-class="{'item':1,'on':pagedata.showtype==0}" style="height:2rem;line-height:2rem"><a href="javascript:;" ng-click="pagedata.showtype=0">详情</a></div>
					<div ng-class="{'item':1,'on':pagedata.showtype==1}" style="height:2rem;line-height:2rem"><a href="javascript:;" ng-click="pagedata.showtype=1">同章课件</a></div>
					<div ng-class="{'item':1,'on':pagedata.showtype==2}" style="height:2rem;line-height:2rem"><a href="javascript:;" ng-click="pagedata.showtype=2">相关推荐</a></div>
				</div>
				<div ng-if="pagedata.showtype==0" class="content-block content-images" style="margin-top:0.3rem" ng-bind-html="trust(pagedata.item.content)"></div>
				<div ng-if="pagedata.item.noread && pagedata.showtype==1" class="content-empty">
				  <i class="icon icon-mima" style="width: 6rem;margin-bottom: 0.5rem;"></i><br/><p style="color: #999;font-size: .75rem">购买后查看完整目录内容！</p>
				</div>
				<div ng-if="pagedata.showtype==1" class="fui-cell-group" style="margin-top:0">
						<div class="fui-cell" ng-repeat="item in pagedata.list">
							<div class="fui-cell-text">
								<div class="text">
									{{$index+1}}.{{item.title}} 
								</div>
								<div class="subtitle">
									{{item.desc}} 
								</div>
							</div>
							<div class="fui-cell-remark">
								{{item.createtime}}
							</div>
						</div>
				</div>
				<div ng-if="pagedata.showtype==2" style="margin-top:0.5rem;">
					<div ng-include="sys_html('_hots')"></div>
				</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('_share')"></div>
<script>
scope.tool.get_list('jy_kecheng/video_jieitem/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_kecheng/video_jieitem/getlist/');
}
//获取关注
scope.pagedata.setlike=function(){
	scope.post_json('jy_kecheng/video_jieitem/like/',{'id':scope.pagedata.item.id},function(res){
			scope.message(res)
	});
}
</script>